@import "../../style/common.less";

.page-layout-container {
    display: flex;
    height: 100%;
    width: 100%;
    > aside {
        flex: 0 0 260px;
        height: 100%;
        transition: all .25s linear;
        background-color: rgb(0 21 41);
        width: 0;
        > .title {
            display: block;
            position: relative;
            width: 100%;
            height: 49px;
            line-height: 48px;
            border-bottom: solid 1px #fff;
            padding-left: 80px;
            color: #fff;
            font-size: .9rem;
            transition: all .25s linear;
            white-space: nowrap;
            overflow: hidden;
            &::before {
                content: '';
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 80px;
                height: 48px;
                background: url(../../images/log-en.png) center center / 36px 36px no-repeat;
            }
        }
    }

    &.coll-pase {
        > aside {
            flex: 0 0 80px;
        }
    }

    > main {
        flex: 1;
        width: 0;
        > nav {
            display: block;
            position: relative;
            padding: 8px 12px;
            height: 48px;
            box-shadow: 0 0 10px @c04;
            background-color: @c03;
            .cls();
            .ant-dropdown-trigger {
                font-size: .7rem;
                line-height: 32px;
            }
            > .text {
                line-height: 32px;
                font-size: .7rem;
                margin-left: 12px;
            }
            > .right { 
                float: right;
            }
        }
        > article {
            display: block;
            position: relative;
            height: calc(100% - 48px);
            padding: 12px;
            background-color: #f8f8f8;
        }
    }
}

.page-layout-dropdown {
    display: block;
    width: 150px;
    background-color: #fff;
    box-shadow: 0 0 12px rgb(0 0 0 / 10%);
    padding: 20px 30px;
    > span {
        font-size: .7rem;
        display: block;
        border-bottom: solid 1px #ddd;
        line-height: 32px;
        padding: 0 12px;
        .touch();
        &:last-child {
            border-bottom: none;
        }
    }
}